/*
 * Copyright (c) $today.year-Now http://www.zxpnet.com All rights reserved.
 */

package com.zxp.springboot.controller;

import com.zxp.hello.service.HelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @desc:
 * @author: shollin
 * @date: 2021/6/20/020 11:17
 */
@RestController
public class StarterController {

    @Autowired
    HelloService helloService;

    @GetMapping("/say")
    public String say(){
        return helloService.say();
    }
}
